<!doctype html>
<html class="no-js"
      xmlns:th="http://www.thymeleaf.org">
<head th:replace="/admin/layout :: head">
</head>
<link rel="stylesheet" href="/new/css/index.css" th:href="@{/new/css/index.css}"/>
<link rel="stylesheet" href="/new/dist/bootstrap/css/bootstrap.min.css" th:href="@{/new/dist/bootstrap/css/bootstrap.min.css}"/>

<body>
<!--[if lte IE 9]>
<p class="browsehappy">你正在使用<strong>过时</strong>的浏览器，暂不支持。 请 <a href="http://browsehappy.com/" target="_blank">升级浏览器</a>
    以获得更好的体验！</p>
<![endif]-->

<th:block th:replace="/user/layout :: nav_main"></th:block>


<div class="am-cf admin-main">
    <!-- sidebar start -->
    <th:block th:replace="/user/layout :: sidebar('home')"></th:block>
    <!-- sidebar end -->

    <!-- content start -->
    <div class="admin-content">

        <div class="am-cf am-padding">
            <div class="am-fl am-cf"><strong class="am-text-primary am-text-lg">个人中心</strong> / <small>我的课程</small></div>
        </div>

        <section id="onlin-course">
            <div class="container">
                <div class="row online-course">
                    <div class="online-course-list col-lg-3 col-md-3 col-sm-3 col-xs-12" th:each="course,iterStat : ${list}">
                        <div class="online-course-list-top">
                        <a th:href="@{'/room/' + ${course.uniqueId}}"><img th:src="${course.conver}" alt=""/></a>

                        <div>
                            <div class="pull-left">主讲人：信息管理</div>
                            <div class="pull-right">100人在学</div>
                        </div>

                    </div>
                        <div class="online-course-list-bottom">
                            <div class="pull-left">
                                <div>
                                    <th:block th:text="${course.title}"></th:block>
                                </div>
                                <div>￥ <span th:text="${course.price / 100.0}">299</span></div>
                            </div>
                            <div class="pull-right"><a th:href="@{'/course/' + ${course.uniqueId}}">
                                <button class="btn btn-danger">开始学习</button>
                            </a></div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </div>
    <!-- content end -->

</div>
<th:block th:replace="/admin/layout :: footer"></th:block>


</body>
</html>
